package com.cskaoyan.bean.bo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @description 
 * @date        2022.04.06 22:56
 * @package     com.cskaoyan.bean.bo 
 * @Classname   CategoryUpdateBO
 * @author      rebaogu
 */
@NoArgsConstructor
@Data
public class CategoryUpdateBO {

    private Integer id;
    private String name;
    private String keywords;
    private String desc;
    private String iconUrl;
    private String picUrl;
    private String level;
    private List<ChildrenDTO> children;

    @NoArgsConstructor
    @Data
    public static class ChildrenDTO {
        private Integer id;
        private String name;
        private String keywords;
        private String desc;
        private String iconUrl;
        private String picUrl;
        private String level;
    }
}
